package org.chat.hhdchat.Service;

import org.chat.hhdchat.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {
    User register(User user);

    User login(String username, String password);

    List<User> getFriends(String userId);
}
